<table border="0" align="center" cellpadding="0" cellspacing="1" class="navi">
	<tr>
		<th>当前位置：上传验证码类跨平台中奖信息 | <a href="<?php echo SystemProperties::$app_host;?>/captcha/listLucks/">查看验证码列表</a></th>
	</tr>
</table>


<br />
<form action="<?php echo SystemProperties::$app_host;?>/captcha/importsAction" method="post" name="form2" enctype="multipart/form-data">


	<table border="0" align="center" cellpadding="0" cellspacing="1" class="list">
		<tr>
			<th colspan=2>上传验证码类跨平台中奖信息</th>
		</tr>

	<?php if ($error_msg){ ?>
		<tr>
			<td colspan=2 style="color: red;font-weight: bold;">错误提示：<?php echo $error_msg; ?></td>
		</tr>
	<?php } ?>

		<tr>
			<td >
				<span>宝贝名称</span>	
			</td>
			<td>
				<input type="text" name="product_name"  style="width: 400px" value="<?php echo (empty($product_name)?'':$product_name);?>" />
			</td>
		</tr>

		<?php if ('importsAction' === $this->params['action']) { ?>
		<tr>
			<td>
				<span>成功插入行数</span>
			</td>
			<td>
				<span><?php echo $this_count;?></span>
			</td>
		</tr>
		<tr>
			<td>
				<span>唯一号</span>
			</td>
			<td>
				<span><a href="<?php echo SystemProperties::$app_host;?>/captcha/downloadLucks/<?php echo $this_luck_id;?>"><?php echo $this_luck_id;?></a></span>
			</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td>
				<span><a href="<?php echo SystemProperties::$app_host;?>/captcha/importsView">继续上传</a></span>
			</td>
		</tr>
		<?php } else if('importsView' === $this->params['action']){ ?>
		<tr>
			<td>
				<span>中奖信息</span>
			</td>
			<td>
				<input type="file" name="award_info" />
			</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td><input type="submit" value="提交" /></td>
		</tr>
		<?php } ?>

	</table>
</form>
